home *** CD-ROM | disk | FTP | other *** search
/ Sacred & Secular / Sacred and Secular.iso / pc / movies / shared.dir / 04837_Script__ music music.ls < prev    next >
Text File  |  1996-04-03  |  309b  |  16 lines

  1. global musicon
  2. on mouseDown
  3.   if the doubleclick then
  4.     dontpassevent
  5.   else
  6.     if musicon then 
  7.       set musicon = 0
  8.       set the visible of sprite 27 = true
  9.     else
  10.       set musicon = 1
  11.       set the visible of sprite 27 = false
  12.     end if
  13.     playsndfile
  14.     updatestage
  15.   end if
  16. end